---
title: Application.CustomFieldGetFormula Method (Project)
keywords: vbapj.chm131199
f1_keywords:
- vbapj.chm131199
ms.prod: project-server
api_name:
- Project.Application.CustomFieldGetFormula
ms.assetid: ce741a1a-1227-b3ae-f45e-0d1f3a048311
ms.date: 06/08/2017
---


# Application.CustomFieldGetFormula Method (Project)

Returns the formula associated with a custom field.


## Syntax

 _expression_. **CustomFieldGetFormula**( ** _FieldID_** )

 _expression_ A variable that represents an **Application** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _FieldID_|Required|**Long**|The custom field. Can be one of the [PjCustomField](pjcustomfield-enumeration-project.md) constants.|

### Return Value

 **String**


